﻿namespace IDal.Supplier
{
    using Model.Supplier;
    using System;
    using System.Data;

    public interface ISupplier
    {
        void Add(SupplierEnt model);
        void Delete(int ID);
        DataTable GetList(string strWhere);
        int GetMaxId(string swhere);
        SupplierEnt GetModel(int ID);
        DataTable GetPageList(int PageSize, int PageIndex, string strWhere);
        DataTable SearchData(string strWhere);
        DataTable SearchData(int PageSize, int PageIndex, string strWhere);
        int SearchDataCount(string strWhere);
        void Update(SupplierEnt model);
    }
}

